<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
  <!-- Tell the browser to be responsive to screen width -->
  <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
  <!-- Bootstrap 3.3.6 -->
  <link rel="stylesheet" href="/static/adminlte/bootstrap/css/bootstrap.min.css">
  <!-- Font Awesome -->
  <link rel="stylesheet" href="/static/css/font-awesome.min.css">
  <!-- Ionicons -->
  <link rel="stylesheet" type="text/css" href="/static/css/ionicons.min.css" />
  <!-- Theme style -->
  <link rel="stylesheet" href="/static/adminlte/dist/css/AdminLTE.min.css">
		<title></title>
	</head>
	<body>

<section class="content">
      <div class="row">
		<div class="col-xs-12">
		          <div class="nav-tabs-custom">
		            <ul class="nav nav-tabs">
		              <li class="active"><a href="{{ route('admin.adminuser.index') }}"  aria-expanded="true">用户管理</a></li>
		              <li><a href="{{ route('admin.adminuser.add') }}" aria-expanded="true">添加用户</a></li>
		            </ul>
		            <div class="tab-content">
						<table class="table table-hover">
							<thead>
								<tr>
									<th>ID</th>
									<th>用户名</th>
									<th>手机</th>
									<th>创建时间</th>
									<th>最后登录时间</th>
									<th>最后登录IP</th>
									<th>操作</th>
								</tr>
							</thead>
			                <tbody>
			                	@foreach ($list as $vo)
					                <tr>
					                  <td>{{$vo->id}}</td>
					                  <td>{{$vo->username}}</td>
					                  <td>{{$vo->mobile}}</td>
					                  <td>{{$vo->created_at}}</td>
					                  <td>{{$vo->last_login_time}}</td>
					                  <td>{{$vo->last_login_ip}}</td>
					                  <td>
					                  	<a href="{{ route('admin.adminuser.edit',['id'=>$vo->id]) }}" class="label label-success">编辑</a>
					                  	<a href="{{ route('admin.adminuser.del',['id'=>$vo->id]) }}" class="label label-danger ajax-delete">删除</a>
					                  </td>
					                </tr>				                		
			                	@endforeach	                
			              </tbody>
						</table>		              
		            </div><!-- /.tab-content -->
		          </div><!-- /.nav-tabs-custom -->
		</div><!--/.row-->
      </div>
  </section>
<!-- jQuery 2.2.3 -->
<script src="/static/adminlte/plugins/jQuery/jquery-2.2.3.min.js"></script>
<script src="/static/layer/layer.js" type="text/javascript" charset="utf-8"></script>
<!-- Bootstrap 3.3.6 -->
<script src="/static/adminlte/bootstrap/js/bootstrap.min.js"></script>
<script src="/static/js/admin.js"></script>
	</body>
</html>
